import request from "./request";

/** 获取企业详情 */
export const companyInfo = (id) => {
  return request(`/enterprise/details?id=${id}`, "get");
};

/** 更新企业信息 */
export const updateCompanyInfo = (data) => {
  return request("/enterprise", "PUT", data);
};
